package com.t.codebook.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.t.codebook.model.dto.code.CodeQueryRequest;
import com.t.codebook.model.entity.Code;
import com.t.codebook.model.vo.CodeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 代码详情;(code)表数据库访问层
 * @author : http://www.chiner.pro
 * @date : 2024-8-25
 */
@Mapper
public interface CodeMapper  extends BaseMapper<Code> {

     List<CodeVO> selectCodeListByCondition(@Param("dto") CodeQueryRequest dto);

    CodeVO selectCodeVO(Long id);
}